package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Salary;
import cn.wolfcode.crm.query.impl.SalaryQuery;
import cn.wolfcode.crm.util.PageResult;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public interface ISalaryService {
    PageResult query(SalaryQuery qo);

    void saveOrUpdate(Salary salary);

    void exportXls(HttpServletResponse response) throws IOException;

    void delete(long id);
}
